import { NavigationRouteConfigMap } from 'react-navigation';
import Entrance from './pages/Entrance';
import Login from './pages/Login';
import ClassRoom from './pages/ClassRoom';
import TabNav from './pages/TabNav';
import Setting from './pages/Setting';
import WebView from './pages/WebView';
import Contact from './pages/Contact';
import PasswordSet from './pages/PasswordSet';
import PersonalInfo from './pages/PersonalInfo';
import SpuDetail from './pages/SpuDetail';
import Charge from './pages/Charge';
import RechargeRecord from './pages/RechargeRecord';
import Order from './pages/Order';
import Course from './pages/Course';
import OrderResult from './pages/OrderResult';
import ReceiveAddress from './pages/ReceiveAddress';
import OrderList from './pages/OrderList';
import OrderDetail from './pages/OrderDetail';
import DownloadManage from './pages/DownloadManage';
import FeedBack from './pages/FeedBack';
import Correction from './pages/Correction';

const routes: NavigationRouteConfigMap = {
  Entrance,
  Login,
  ClassRoom,
  TabNav,
  Setting,
  WebView,
  Contact,
  PasswordSet,
  PersonalInfo,
  SpuDetail,
  Charge,
  RechargeRecord,
  Order,
  Course,
  OrderResult,
  ReceiveAddress,
  OrderList,
  OrderDetail,
  DownloadManage,
  FeedBack,
  Correction
};

export default routes;
